package com.zju.DoctorGo.entity;

import com.zju.DoctorGo.dto.DiagnosisDTO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;

@Data
@TableName("diagnosis")
public class Diagnosis {

    @TableId(value = "diagnosisId", type = IdType.AUTO)
    private Integer diagnosisId;

    @TableField("diagnosisNumber")
    private String diagnosisNumber;

    @TableField("title")
    private String title;

    @TableField("patientName")
    private String patientName;

    @TableField("department")
    private String department;

    @TableField("bedNumber")
    private String bedNumber;

    @TableField("responsiblePerson")
    private String responsiblePerson;

    @TableField("doctorId")
    private Integer doctorId;

    @TableField("doctorName")
    private String doctorName;

    @TableField("time")
    private Timestamp time;

    @TableField("content")
    private String content;

    @TableField("medicine")
    private String medicine;

    @TableField("amount")
    private Double amount;

    @TableField("billId")
    private String billId;

    @TableField("diagnosisStatus")
    private String diagnosisStatus;

    @TableField("patientId")
    private Integer patientId;
}
